package com.滑动窗口的最大值;

import java.util.ArrayList;

public class Test {

	public static void main(String[] args) {
		Solution s = new Solution();
		int num[]= {2,3,4,2,6,2,5,1};
		int[]a= {4,4,0,6,0,6,6,8,6,6,6,0,0,2,2,2,2,2,6,6,4,2,2,2,0,8,4,2,2,0,6,8,0,6,2,2,8,2,8,4,6,4,2,2,6,4,6,6,4,8,6,4,8,6,4,8,6,1,4,3,9,1};
		System.out.println(a.length);
		ArrayList<Integer> res = s.maxInWindows(num, 3);
		System.out.println(res);
	}

}
